 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib prefix="pm" uri="http://heroj.cn/permissionTag"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<head>
<title>EqEquipment</title>
 <script src="${cdnAddress}/js/boot.js${cacheVersion}" type="text/javascript"></script>
 <script src="${cdnAddress}/js/util.js${cacheVersion}" type="text/javascript"></script>
 <link href="${cdnAddress}/css/util.css${cacheVersion}" rel="stylesheet" type="text/css" />
 <link href="${cdnAddress}/css/common_view_seach_table.css${cacheVersion}" rel="stylesheet" type="text/css" />
</head>
<body>
<input type="hidden" id="projectName" value="${projectName}" />
<form id="EqEquipmentListForm" method="post">
 	 <input class="mini-hidden" id="ids" name="ids" value=""/> 	 
  <div>
        <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
        <div id="formseach">
			<table class="commonTable" border="1" width="100%" bordercolor="#e5e5e5">			
              <tr class="commonTr">
				 <td>设备名称:</td><td><input  class="mini-textbox"   id="equipmentName" name="equipmentName" /></td>
				 <td>设备类型:</td><td><input class="mini-combobox"  id="equipmentType" name="equipmentType" 
									emptyText="请选择"  textField="dicName" valueField="dicVal"  onenter="onKeyEnter"
									url="${projectName}/DictionaryAdmin/queryDictionaryByTypeIds?typeids=53" onenter="onKeyEnter" /></td>
				 <td>供应商:</td><td><input class="mini-combobox"  id="supplierId" name="supplierId" 
									emptyText="请选择"  textField="supplierName" valueField="supplierId"  onenter="onKeyEnter"
									url="${projectName}/SuSupplierAdmin/findSupplierList" onenter="onKeyEnter" /></td>
           	 </tr>
           	  <tr class="commonTr">
				 <td colspan="6">
				 <a class="mini-button" iconCls="icon-search" onclick="onOkEquipment()">确认</a>
				 <a class="mini-button" iconCls="icon-search" onclick="seachRow()">查询</a>
				<!--  <a class="mini-button" iconCls="icon-undo" onclick="resetForm()">重置</a></td> -->
           	</tr>
          	</table>   
            </div>        
        </div>
    </div>
</form> 
 <div class="mini-fit" style="height:100px;">
  <div id="eqEquipmentGrid" class="mini-datagrid" style="width:100%;height:100%;" onrowdblclick="onrowdblclick" 
        url="${projectName}/EqEquipmentAdmin/List?isDel=0"  idField="id"   sizeList="[10,20,30,50]" pageSize="30" multiSelect="true" >
        <div property="columns">
            <div type="checkcolumn"></div> 
             <div type="indexcolumn">序号</div>
            <div field="equipmentName" allowSort="true">设备名称</div>
            <div field="equipmentTypeName" allowSort="true">设备类型</div>
            <div field="equipmentCode" allowSort="true">设备代码</div>
        </div>
    </div> 
    </div>
<script src="${scripts}/tabledefine/custompage/js/equipmentselectPage.js${cacheVersion}" type="text/javascript"></script>
</body>

</html>